core: Add runtime ostree_check_version()
authorColin Walters <walters@verbum.org>
Mon, 13 Mar 2017 13:45:51 +0000 (09:45 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 13 Mar 2017 14:29:02 +0000 (14:29 +0000)
commit46001f4a5bff67f356407c51b4e2b29117565bb1
tree281cdd43466877400a8fa1e85d98d31872e5fa54
parentb825aac0ead84c28108e647abb2e444d1492bcf0
core: Add runtime ostree_check_version()

[Previously](https://github.com/ostreedev/ostree/pull/728) we added compile-time
checking for versions, but there are use cases for runtime checking as well,
because in a number of API calls we use `GVariant` as an API extension
mechanism.

Closes: #735
Approved by: jlebon
apidoc/ostree-sections.txt
src/libostree/libostree.sym
src/libostree/ostree-core.c
src/libostree/ostree-core.h